package com.fuqi.android.zhongcai.base.request.api;


import com.android.volley.Response.ErrorListener;
import com.android.volley.Response.Listener;
import com.fuqi.android.zhongcai.base.ApiUrl;
import com.fuqi.android.zhongcai.sql.Dic;
import com.fuqi.framework.network.api.AbsRequest;
import com.fuqi.framework.network.params.BaseParams;


/*
*  获取数据字典子项接口
* */

public class FindSubNodeApi extends AbsRequest<FindSubNodeApi.FindSubNodeParams, Dic[]> {

    public FindSubNodeApi(FindSubNodeParams findSubNodeParams, Listener<Dic[]> listener, ErrorListener errorListener) {
        super(Method.POST, ApiUrl.getFindSubNodeUrl(), findSubNodeParams, listener, errorListener, Dic[].class);
    }

    public static class FindSubNodeParams extends BaseParams {

        public FindSubNodeParams(String parentCode) {

                put("PARENTCODE", parentCode);

        }
    }


}
